package com.vrv.common;

public class Constants {

	/*-----------------
	 * Gloab Settings
	 * ---------------*/
	public static final boolean DEBUG = true;
	public static final String TAG = "GroupPurchasePlatform";
	public static final String DATABASE_NAME = "group_purchase.db";
	public static String DB_PATH = "/data/data/%s/databases";
	public static final int DB_VERSION = 1;
	public static final String EMPTY_STRING = "";

	/*-----------------
	 * ServerInfoConfig
	 * ---------------*/
	public static final String SERVER_NAME = "EDPDMServer";
	public static final String SERVER_INFO_FILENAME = "SERVER_INFO_FILENAME";
	public static final String SERVER_IP_KEY = "SERVER_IP_KEY";
	public static final String SERVER_PORT_KEY = "SERVER_PORT_KEY";

	/*-----------------
	 * SynchronizeCycle
	 * ---------------*/
	public static final String SYNCHRONIZE_CYCLE_FILENAME = "SYNCHRONIZE_CYCLE_FILENAME";
	public static final String SYNCHRONIZE_ENABLED_KEY = "SYNCHRONIZE_ENABLED_KEY";
	public static final String SYNCHRONIZE_CYCLE_KEY = "SYNCHRONIZE_CYCLE_KEY";
	public static final int SYNCHRONIZE_CYCLE_1 = 10;
	public static final int SYNCHRONIZE_CYCLE_2 = 30;
	public static final int SYNCHRONIZE_CYCLE_3 = 60;
	public static final int SYNCHRONIZE_CYCLE_4 = 120;

	/*-----------------
	 * 今日提醒相关参数
	 * ---------------*/
	/** 流量异常类型值 */
	public static final String ERR_TYPE = "errorType";
	/** 匹配类型“断开内网上外网”或者“同时连接内外网” */
	public static final String ERR_MSG = "errorMsg";

	/** 是否注册 1--注册 0--未注册 */
	public static final int ASSETS_REGISTERED = 1;
	public static final String OPEN_IO_NET = "同时连接内外网";
	public static final String CLOSE_I_OPEN_O_NET = "断开内网上外网";
	/** 上网时长 */
	public static final String NET_DURATION = "nullDuration";

	/** 不明所以的字段 **/
	public static final String PAGE_NUM = "pageNumber";
	public static final String REG_ASSETS = "registered";
	public static final String POLICY_NAME = "policyName";
	public static final String POLICYFUNC = "policyFunc";
	public static final String ADDRESS_HEAD = "http://";
	public static final String DEVICE_IP = "ipaddres";
	public static final String IP_ADDRESS = "ipaddress";

	public static final String USER_NAME = "name";
	public static final String PASSWORD = "passWord";
	public static final String USER_ID = "id";

	/** 离线广播用到 **/
	public static final String CONNECTIVITY_CHANGE_BROADCAST_ACTION = "android.net.conn.CONNECTIVITY_CHANGE";
	public static final String OFF_LINE_BROADCAST_ACTION = "com.vrv.netmgr.service.HeartService";

	/** 本地测试配置 **/
	public static final String TEST_HOST = "127.0.0.1";
	public static final String TEST_USER = "admin";
	public static final String TEST_PASSWORD = "123456";

}
